import request from '../../utils/Request'


export const saveCategory = data => {
    return request({
        method: 'post',
        url: '/api/blog/category/save',
        data: data
    })
}

export const deleteCategory = ukId => {
    return request({
        method: 'get',
        url: '/api/blog/category/delete/' + ukId,
        params: {}
    })
}

export const selectCategory = bId => {
    return request({
        method: 'get',
        url: '/api/blog/category/select/' + bId,
        params: {}
    })
}

export const listCategory = data => {
    return request({
        method: 'get',
        url: '/api/blog/category/list',
        params: data
    })
}






